package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("d_oplog")
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Oplog extends Model<Order> implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String telphone;

    private String account;

    private Integer workerId;

    private String modular;

    private String type;

    private String oplogIp;

    private String content;

    private Date creattime;
}

